<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><if condition="$info['title']"><{$info['title']}>_</if><{$opt['site_name']}></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,user-scalable=no">
	<meta name="description" content="<{$opt['seo_depict']}>">
	<meta name="keywords" content="<{$opt['seo_key']}>">
	<!-- <link rel="stylesheet" href="__PUBLIC__/css/style_ng.css"> -->
	<script src="__PUBLIC__/js/jquery-1.11.3.min.js"></script>
	<script src="__PUBLIC__/js/common.js"></script>
	<script src="__PUBLIC__/js/base64en_de.js"></script>
	<script src="__PUBLIC__/js/layer.m/layer.m.js"></script>
	<script src="__PUBLIC__/js/xxUploadImg.js"></script>
	<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
	<style type="text/css">
	body,div,p,h1,h2,h3,h4,ul,li{ margin: 0; padding: 0; font-family:"微软雅黑";}
	body{font-size: 14px; position: relative;}
	a{text-decoration: none;}
	.top-wrap{background-color: #2ebc82; height: 80px; line-height: 80px;}
	.fixed-wrap{ max-width: 960px; margin: 0 auto;}
	.title{color: #fff; font-size: 36px; margin-left: 20px;}
	.nav-wrap{background-color: #3cd09a;}
	.nav-list{list-style-type: none; line-height: 32px; }
	.nav-box{float: left;}
	.nav-btn{ display: block; color: #fff; cursor: pointer; padding: 0 15px;}
	.nav-btn:hover{background-color: #6ceab7; color: #666;}
	.nav-btn-tag{background-color: #6ceab7; color: #666;}
	.main-wrap{ max-width: 960px; min-height: 320px; margin: 0 auto; overflow: hidden;}
	
	.footer{ text-align: center; height: 50px; line-height: 50px; position: relative; bottom: 0; color: #666; margin-top: 20px; }
	.clear{clear: both;}
	</style>
</head>
<body>
	<div class="top-wrap">
		<div class="fixed-wrap"><h1 class="title"><{$opt['site_name']}></h1></div>
	</div>
	<div class="nav-wrap">
		<div class="fixed-wrap">
			<ul class="nav-list">
				<foreach name="list" item="row">
				<li class="nav-box">
				<a class="nav-btn <if condition="$row['id'] eq $tag">nav-btn-tag</if>" href="<{:U('Main/Index/index',array('tag' => $row['id']))}>"><{$row['title']}></a>
				</li>
				</foreach>
				<div class="clear"></div>
			</ul>
		</div>
	</div>
	<div class="main-wrap">
		<{$info['content']}>
	</div>
	<div class="footer">
		Copyright &copy; 2015 <?php if(date('Y',time()) - 2015 > 1){echo '-' . date('Y',time());}?> <{$opt['site_name']}>
	</div>
</body>
</html> 